#числа с 2-м делителями не 1 и число
def prime(numbr):
    div_amount=set()
    for divider in range(2,int(numbr**0.5)+1):
        if numbr%divider==0:
            div_amount.add(x%d)
            div.amount.add(x//d)
    if len(div_amount)==2:
        return True


for numero in range(2,1000):
    if prime(numero):
        print(numero)

